package org.shop.service.impl;

import java.util.List;
import java.util.Map;

import org.shop.dao.ActivityAnswerMapper;
import org.shop.entity.ActivityAnswer;
import org.shop.service.ActivityAnswerService;
import org.shop.service.base.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class ActivityAnswerServiceImpl extends BaseServiceImpl<ActivityAnswer, Long> implements ActivityAnswerService{
	
	@Autowired
	private ActivityAnswerMapper activityAnswerMapper;

	@Override
	public List<Map<String, Object>> getHotActivityAnswerList(Map<String, Object> params) {
		return activityAnswerMapper.getHotActivityAnswerList(params);
	}

	@Override
	public List<Map<String, Object>> getReplyActivityAnswerList(Map<String, Object> paramMap) {
		return activityAnswerMapper.getReplyActivityAnswerList(paramMap);
	}

	@Override
	public List<Map<String, Object>> getActivityAnswerList(Map<String, Object> params) {
		return activityAnswerMapper.getActivityAnswerList(params);
	}

	@Override
	public int getActivityAnswerCount(Map<String, Object> params) {
		return activityAnswerMapper.getActivityAnswerCount(params);
	}
	
	
}